package io.gitee.dqcer.mcdull.uac.provider.web.appointment.mapper;

import io.gitee.dqcer.mcdull.uac.provider.web.appointment.domain.CarAppointment;

import java.util.List;

/**
 * 预约管理Mapper接口
 * 
 * @author ruoyi
 * @date 2023-12-10
 */
public interface CarAppointmentMapper 
{
    /**
     * 查询预约管理
     * 
     * @param appointmentId 预约管理主键
     * @return 预约管理
     */
    public CarAppointment selectCarAppointmentByAppointmentId(Long appointmentId);

    /**
     * 查询预约管理列表
     * 
     * @param carAppointment 预约管理
     * @return 预约管理集合
     */
    public List<CarAppointment> selectCarAppointmentList(CarAppointment carAppointment);

    /**
     * 新增预约管理
     * 
     * @param carAppointment 预约管理
     * @return 结果
     */
    public int insertCarAppointment(CarAppointment carAppointment);

    /**
     * 修改预约管理
     * 
     * @param carAppointment 预约管理
     * @return 结果
     */
    public int updateCarAppointment(CarAppointment carAppointment);

    /**
     * 删除预约管理
     * 
     * @param appointmentId 预约管理主键
     * @return 结果
     */
    public int deleteCarAppointmentByAppointmentId(Long appointmentId);

    /**
     * 批量删除预约管理
     * 
     * @param appointmentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCarAppointmentByAppointmentIds(Long[] appointmentIds);
}
